package com.dashu.base.api.device;

public class DeviceStatus {

    /**
     * 成功
     */
    public static String SUCCESS = "成功";
    public static int SUCCESS_STATUS = 110000;
    public static String SUCCESS_EN = "success";

    /**
     * 添加设备图片成功
     */
    public static String ADD_DEVICE_PIC_SUCCESS = "添加设备图片成功";
    public static int ADD_DEVICE_PIC_SUCCESS_STATUS = 110000;


    /**
     * 添加设备图片失败
     */
    public static String ADD_DEVICE_PIC_FAIL = "添加设备图片失败";
    public static int ADD_DEVICE_PIC_FAIL_STATUS = 420001;


    /**
     * 删除设备图片成功
     */
    public static String DEL_DEVICE_PIC_SUCCESS = "删除设备图片成功";
    public static int DEL_DEVICE_PIC_SUCCESS_STATUS = 110000;


    /**
     * 删除设备图片失败
     */
    public static String DEL_DEVICE_PIC_FAIL = "删除设备图片失败";
    public static int DEL_DEVICE_PIC_FAIL_STATUS = 420002;
    public static String DEL_DEVICE_PIC_FAIL_EN = "del pic fail";



    /**
     * 获取设备信息成功
     */
    public static String GET_DEVICE_INFO_SUCCESS = "获取设备信息成功";
    public static int GET_DEVICE_INFO_SUCCESS_STATUS = 110000;


    /**
     * 获取设备信息失败
     */
    public static String GET_DEVICE_INFO_FAIL = "获取设备信息失败";
    public static int GET_DEVICE_INFO_FAIL_STATUS = 420003;



    /**
     * 添加设备成功
     */
    public static String ADD_DEVICE_SUCCESS = "添加设备成功";
    public static int ADD_DEVICE_SUCCESS_STATUS = 110000;


    /**
     * 添加设备失败
     */
    public static String ADD_DEVICE_FAIL = "添加设备失败";
    public static int ADD_DEVICE_FAIL_STATUS = 420004;


    /**
     * 删除设备成功
     */
    public static String DEL_DEVICE_SUCCESS = "删除设备成功";
    public static int DEL_DEVICE_SUCCESS_STATUS = 110000;


    /**
     * 删除设备失败
     */
    public static String DEL_DEVICE_FAIL = "删除设备失败";
    public static int DEL_DEVICE_FAIL_STATUS = 420005;


    /**
     * 远程开门成功
     */
    public static String REMOTEOPEN_DEVICE_SUCCESS = "远程开门成功";
    public static int REMOTEOPEN_DEVICE_SUCCESS_STATUS = 110000;


    /**
     * 远程开门失败
     */
    public static String OPEN_DOOR_FAIL = "开门失败";
    public static String OPEN_DOOR_FAIL_EN = "open the door fail";
    public static int OPEN_DOOR_FAIL_STATUS = 420006;


    /**
     * 远程开门频率过快
     */
    public static String REMOTEOPEN_DEVICE_FAST_FAIL = "远程开门频率过快";
    public static int REMOTEOPEN_DEVICE_FAST_FAIL_STATUS = 420007;


    /**
     * 客户端掉线
     */
    public static String DEVICE_OFFLINE_FAIL = "客户端掉线";
    public static int DEVICE_OFFLINE_FAIL_STATUS = 420008;


    /**
     * 数据解析错误
     */
    public static String DATA_ERROR = "数据解析错误";
    public static String DATA_ERROR_EN = "data is error";
    public static int DATA_ERROR_STATUS = 420009;


    /**
     * 数据解析错误
     */
    public static String UPD_DEVICE_FAIL = "设备修改失败";
    public static int UPD_DEVICE_FAIL_STATUS = 420010;


    /**
     * 设备下发超时
     */
    public static String DEVICE_TIMEOUT_FAIL = "设备下发超时";
    public static int DEVICE_TIMEOUT_STATUS = 420011;


    /**
     * 设备类型错误
     */
    public static String DEVICE_TYPE_FAIL = "设备类型错误";
    public static int DEVICE_TYPE_FAIL_STATUS = 420012;

    /**
     * 平台设置失败
     */
    public static String CLOUD_SETTING_FAIL = "平台设置失败";
    public static int CLOUD_SETTING_FAIL_STATUS = 420013;


    /**
     * 添加图片用户组不存在
     */
    public static String ADD_DEVICE_PIC_NOFOUND = "添加图片用户组不存在";
    public static int ADD_DEVICE_PIC_NOFOUND_STATUS = 420014;



    /**
     * 添加图片用户组存在
     */
    public static String ADD_DEVICE_PIC_EXIST = "添加图片用户组存在";
    public static int ADD_DEVICE_PIC_EXIST_STATUS = 420015;


    /**
     * 获取图片失败
     */
    public static String ADD_DEVICE_PIC_GET_PIC_FAIL = "获取图片失败";
    public static int ADD_DEVICE_PIC_GET_PIC_FAIL_STATUS = 420016;


    /**
     * 未检测到人脸
     */
    public static String ADD_DEVICE_PIC_CHECK_FACE_FAIL = "未检测到人脸";
    public static int ADD_DEVICE_PIC_CHECK_FACE_FAIL_STATUS = 420017;


    /**
     * 注册人脸目录没有找到
     */
    public static String ADD_DEVICE_PIC_REG_FACE_FILE_NOFOUND = "注册人脸目录没有找到";
    public static int ADD_DEVICE_PIC_REG_FACE_FILE_NOFOUND_STATUS = 420018;


    /**
     * 待检测人脸图片文件不存在
     */
    public static String ADD_DEVICE_PIC_CHECK_FACE_FILE_NOFOUND = "待检测人脸图片文件不存在";
    public static int ADD_DEVICE_PIC_CHECK_FACE_FILE_NOFOUND_STATUS = 420019;


    /**
     * 特征值提取失败
     */
    public static String ADD_DEVICE_PIC_FEATURE_FAIL = "特征值提取失败";
    public static int ADD_DEVICE_PIC_FEATURE_FAIL_STATUS = 420020;


    /**
     * 设备掉线
     */
    public static String IPC_OFFLINE_FAIL = "设备掉线";
    public static String IPC_OFFLINE_FAIL_EN = "ipc offline";
    public static int IPC_OFFLINE_FAIL_STATUS = 420021;


    /**
     * 用户不存在
     */
    public static String DEL_DEVICE_PIC_NOFOUND = "用户不存在";
    public static int DEL_DEVICE_PIC_NOFOUND_STATUS = 420022;
    public static String DEL_DEVICE_PIC_NOFOUND_EN = "user not found";


    /**
     * 数据回调失败
     */
    public static String DEVICE_DATA_CALLBACK_FAIL = "数据回调失败";
    public static int DEVICE_DATA_CALLBACK_FAIL_STATUS = 420023;


    /**
     * 一卡通查询账户失败
     */
    public static String ONECARD_QUERY_ACCOUNT_FAIL = "一卡通查询账户失败";
    public static int ONECARD_QUERY_ACCOUNT_FAIL_STATUS = 420024;



    /**
     * 一卡通充值失败
     */
    public static String ONECARD_PAY_FAIL = "一卡通充值失败";
    public static int ONECARD_PAY_FAIL_STATUS = 420025;


    /**
     * 一卡通查询消费记录失败
     */
    public static String ONECARD_QUERY_PAY_FAIL = "一卡通查询消费记录失败";
    public static int ONECARD_QUERY_PAY_FAIL_STATUS = 420026;


    /**
     * 添加设备类型失败
     */
    public static String ADD_DEVICE_TYPE_FAIL = "添加设备类型失败";
    public static int ADD_DEVICE_TYPE_FAIL_STATUS = 420027;


    /**
     * 获取设备类型失败
     */
    public static String GET_DEVICE_TYPE_FAIL = "获取设备类型失败";
    public static int GET_DEVICE_TYPE_FAIL_STATUS = 420028;


    /**
     * 查询AI天眼失败
     */
    public static String AI_EYE_GET_FAIL = "查询AI天眼失败";
    public static int AI_EYE_GET_FAIL_STATUS = 420029;


    /**
     * 添加设备失败
     */
    public static String ADD_DEVICE_FAIL_NO_SCHOOL_INFO = "添加设备失败，不存在该学校信息";
    public static int ADD_DEVICE_FAIL_NO_SCHOOL_INFO_STATUS = 420030;



    /**
     * 修改设备图片失败
     */
    public static String UPD_DEVICE_PIC_FAIL = "修改设备图片失败";
    public static int UPD_DEVICE_PIC_FAIL_STATUS = 420031;




    /**
     * 提取特征值失败
     */
    public static String GET_IDEN_FAIL = "提取特征值失败";
    public static String GET_IDEN_FAIL_EN = "get Eigenvalues fail";
    public static int GET_IDEN_FAIL_STATUS = 420032;


    /**
     * 文件名称编号重复
     */
    public static String FILE_NAME_SAME_FAIL = "文件名称编号重复";
    public static String FILE_NAME_SAME_FAIL_EN = "file name number same";
    public static int FILE_NAME_SAME_FAIL_STATUS = 420033;



    /**
     * 库满
     */
    public static String DATA_FULL = "库满";
    public static String DATA_FULL_EN = "data full";
    public static int DATA_FULL_STATUS = 420034;



    /**
     * 添加超时
     */
    public static String ADD_TIMEOUT = "添加超时";
    public static String ADD_TIMEOUT_EN = "add timeout";
    public static int ADD_TIMEOUT_STATUS = 420035;



    /**
     * 参数错误
     */
    public static String PARAM_FAIL = "参数错误";
    public static String PARAM_FAIL_EN = "param fail";
    public static int PARAM_FAIL_STATUS = 420036;



    /**
     * 文件太大
     */
    public static String FILE_BIG = "文件太大";
    public static String FILE_BIG_EN = "file is big";
    public static int FILE_BIG_STATUS = 420037;



    /**
     * 存储空间不足
     */
    public static String STROAGE_SPACE_FULL = "存储空间不足";
    public static String STROAGE_SPACE_FULL_EN = "stroage space is full";
    public static int STROAGE_SPACE_EMPTY_STATUS = 420038;



    /**
     * 文件打开失败
     */
    public static String OPEN_FILE_FAIL = "文件打开失败";
    public static String OPEN_FILE_FAIL_EN = "open file fail";
    public static int OPEN_FILE_FAIL_STATUS = 420039;



    /**
     * 没有数据库
     */
    public static String NO_DATABASE_FAIL = "没有数据库";
    public static String NO_DATABASE_FAIL_EN = "no database";
    public static int NO_DATABASE_FAIL_STATUS = 420040;



    /**
     * 图片读取失败
     */
    public static String READ_PIC_FAIL = "图片读取失败";
    public static String READ_PIC_FAIL_EN = "read pic fail";
    public static int READ_PIC_FAIL_STATUS = 420041;



    /**
     * 数据库文件损坏
     */
    public static String DATABASE_FILE_FAIL = "数据库文件损坏";
    public static String DATABASE_FILE_FAIL_EN = "database file fail";
    public static int DATABASE_FILE_FAIL_STATUS = 420042;




    /**
     * 图片质量差
     */
    public static String PIC_LOW_QUALITY_FAIL = "图片质量差";
    public static String PIC_LOW_QUALITY_FAIL_EN = "pic low quality fail";
    public static int PIC_LOW_QUALITY_FAIL_STATUS = 420043;



    /**
     * 图片尺寸错误，宽高不能为奇数
     */
    public static String PIC_SIZE_WRONG_FAIL = "图片尺寸错误，宽高不能为奇数";
    public static String PIC_SIZE_WRONG_FAIL_EN = "pic size wrong , width and height is not odd number";
    public static int PIC_SIZE_WRONG_FAIL_STATUS = 420044;



    /**
     * 检测人脸失败（没检测到人脸或者检测到多人脸）
     */
    public static String CHECK_PERSON_FAIL = "检测人脸失败（没检测到人脸或者检测到多人脸）";
    public static String CHECK_PERSON_FAIL_EN = "Failed to detect face (no face detected or multiple faces detected)";
    public static int CHECK_PERSON_FAIL_STATUS = 420045;




    /**
     * 图片格式错误
     */
    public static String PIC_FORMAT_FAIL = "图片格式错误";
    public static String PIC_FORMAT_FAIL_EN = "pic format fail";
    public static int PIC_FORMAT_FAIL_STATUS = 420046;



    /**
     * 人脸区域错误
     */
    public static String FACE_AREA_FAIL = "人脸区域错误";
    public static String FACE_AREA_FAIL_EN = "face area error";
    public static int FACE_AREA_FAIL_STATUS = 420047;



    /**
     * 算法创建句柄错误
     */
    public static String ALGORITHM_CREATE_FAIL = "算法创建句柄错误";
    public static String ALGORITHM_CREATE_FAIL_EN = "Algorithm creates a handle error";
    public static int ALGORITHM_CREATE_FAIL_STATUS = 420048;



    /**
     * 设备忙
     */
    public static String DEVICE_BUSY_FAIL = "设备忙";
    public static String DEVICE_BUSY_FAIL_EN = "device busy";
    public static int DEVICE_BUSY_FAIL_STATUS = 420049;


    /**
     * 失败
     */
    public static String FAIL = "失败";
    public static String FAIL_EN = "fail";
    public static int FAIL_STATUS = 420050;



    /**
     * 下发异常
     */
    public static String DOWN_ERROR = "下发异常";
    public static String DOWN_ERROR_EN = "down error";
    public static int DOWN_ERROR_STATUS = 420051;


    /**
     * 下发异常
     */
    public static String DOWN_WAIT_TIMEOUT= "下发等待超时";
    public static String DOWN_WAIT_TIMEOUT_EN = "down wait timeout";
    public static int DOWN_WAIT_TIMEOUT_STATUS = 420052;




    /**
     * 回调服务为空
     */
    public static String CALL_BACK_NULL = "回调服务为空";
    public static String CALL_BACK_NULL_EN = "call back service is null";
    public static int CALL_BACK_NULL_STATUS = 420053;


    /**
     * 必要参数为空
     */
    public static String PARAMS_NULL = "必要参数为空";
    public static String PARAMS_NULL_EN = "param is null";
    public static int PARAMS_NULL_STATUS = 420054;


    /**
     * 未知错误
     */
    public static String UNKNOW_ERROR = "未知错误";
    public static String UNKNOW_ERROR_EN = "unknow error";
    public static int UNKNOW_ERROR_STATUS = 420055;



    /**
     * 客户端添加图片出错异常
     */
    public static String CLIENT_ADDPIC_ERROR = "客户端添加图片出错异常";
    public static String CLIENT_ADDPIC_ERROR_EN = "client addpic error";
    public static int CLIENT_ADDPIC_ERROR_STATUS = 420056;



    /**
     * 客户端删除图片出错异常
     */
    public static String CLIENT_DELPIC_ERROR = "客户端删除图片出错异常";
    public static String CLIENT_DELPIC_ERROR_EN = "client delpic error";
    public static int CLIENT_DELPIC_ERROR_STATUS = 420057;



    /**
     * 客户端获取图片出错异常
     */
    public static String CLIENT_GETPIC_ERROR = "客户端获取图片出错异常";
    public static String CLIENT_GETPIC_ERROR_EN = "client getpic error";
    public static int CLIENT_GETPIC_ERROR_STATUS = 420058;



    /**
     * 客户端修改图片出错异常
     */
    public static String CLIENT_UPDPIC_ERROR = "客户端修改图片出错异常";
    public static String CLIENT_UPDPIC_ERROR_EN = "client updpic error";
    public static int CLIENT_UPDPIC_ERROR_STATUS = 420059;


    /**
     * 客户端开门出错异常
     */
    public static String CLIENT_REMOTEOPEN_ERROR = "客户端开门出错异常";
    public static String CLIENT_REMOTEOPEN_ERROR_EN = "client remoteopen error";
    public static int CLIENT_REMOTEOPEN_ERROR_STATUS = 420060;


    /**
     * 下发类型与调用方法不匹配
     */
    public static String DOWNTYPE_FUNCTION_FAIL = "下发类型与调用方法不匹配";
    public static String DOWNTYPE_FUNCTION_FAIL_EN = "downType and method mismatch";
    public static int DOWNTYPE_FUNCTION_FAIL_STATUS = 420061;



    /**
     * 该方法不支持该操作
     */
    public static String METHOD_NOTSUPPORT = "该方法不支持该操作";
    public static String METHOD_NOTSUPPORT_EN = "method not support operator";
    public static int METHOD_NOTSUPPORT_STATUS = 420062;



    /**
     * url不合法
     */
    public static String URL_INVALID = "url不合法";
    public static String URL_INVALID_EN = "url invalid";
    public static int URL_INVALID_STATUS = 420063;


    /**
     * 设备操作失败
     */
    public static String DEVICE_OPERATION_FAIL = "设备操作失败";
    public static String DEVICE_OPERATION_FAIL_EN = "device operation fail";
    public static int DEVICE_OPERATION_FAIL_STATUS = 420064;


    /**
     * 客户端执行操作
     */
    public static String CLIENT_OPERATION_TIMEOUT = "客户端执行超时";
    public static String CLIENT_OPERATION_TIMEOUT_EN = "client operation timeout";
    public static int CLIENT_OPERATION_TIMEOUT_STATUS = 420065;


    /**
     * 打印服务掉线
     */
    public static String PRINT_SERVER_UNLINE = "打印服务掉线";
    public static String PRINT_SERVER_UNLINE_EN = "print server unline";
    public static int PRINT_SERVER_UNLINE_STATUS = 420066;


    /**
     * 打印超时
     */
    public static String PRINT_TIMEOUT = "打印超时";
    public static String PRINT_TIMEOUT_EN = "print timeout";
    public static int PRINT_TIMEOUT_STATUS = 420067;



    /**
     * 下发类型不存在
     */
    public static String DOWNTYPE_DOES_NOT_EXIST = "下发类型不存在";
    public static String DOWNTYPE_DOES_NOT_EXIST_EN = "downType does not exist";
    public static int DOWNTYPE_DOES_NOT_EXIST_STATUS = 420068;


    /**
     * 下载图片失败
     */
    public static String DOWN_PIC_FAIL = "下载图片失败";
    public static String DOWN_PIC_FAIL_EN = "download picture fail";
    public static int DOWN_PIC_FAIL_STATUS = 420069;


    /**
     * mqtt发送失败
     */
    public static String MQTT_SEND_FAIL = "mqtt发送失败";
    public static String MQTT_SEND_FAIL_EN = "mqtt send fail";
    public static int MQTT_SEND_FAIL_STATUS = 420070;


    /**
     * 人像库不存在
     */
    public static String REPOSITORY_NOT_EXIST = "人像库不存在";
    public static String REPOSITORY_NOT_EXIST_EN = "repository not exist";
    public static int REPOSITORY_NOT_EXIST_STATUS = 420071;


    /**
     * 批量导入任务不存在
     */
    public static String TASK_NOT_EXIST = "批量导入任务不存在";
    public static String TASK_NOT_EXIST_EN = "task not exist";
    public static int TASK_NOT_EXIST_STATUS = 420072;

    /**
     * 未知的记录模式
     */
    public static String UNKNOW_RECORD_MODE = "未知的记录模式";
    public static String UNKNOW_RECORD_MODE_EN = "unknow record mode";
    public static int UNKNOW_RECORD_MODE_STATUS = 420073;


    /**
     * 序列化错误
     */
    public static String SERIALIZATION_FAIL = "序列化错误";
    public static String SERIALIZATION_FAIL_EN = "serialization fail";
    public static int SERIALIZATION_FAIL_STATUS = 420074;


    /**
     * 反序列化错误
     */
    public static String DESERIALIZATION_FAIL = "反序列化错误";
    public static String DESERIALIZATION_FAIL_EN = "Deserialization fail";
    public static int DESERIALIZATION_FAIL_STATUS = 420075;


    /**
     * 人像已存在
     */
    public static String FACE_EXIST = "人像已存在";
    public static String FACE_EXIST_EN = "face exist";
    public static int FACE_EXIST_STATUS = 420076;




    /**
     * 获取客户端列表成功
     */
    public static String GET_CLIENT_SUCCESS = "获取客户端列表成功";
    public static int GET_CLIENT_SUCCESS_STATUS = 110000;



    /**
     * 网络异常
     */
    public static String NET_ERROR = "网络异常";
    public static String NET_ERROR_EN = "network error";
    public static int NET_ERROR_STATUS = 429999;

}
